From 2156a423e9c35aacbae0f26281b82e3118151450 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 14 Nov 2002 07:16:14 +0000 Subject: [PATCH] (find-tag-default): Copy text at point without properties. --- lisp/progmodes/etags.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 8d988f45341..e3154ae4c4a 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -776,11 +776,12 @@ Assumes the tags table is the current buffer." (save-excursion (end-of-line) (point)) t)) (progn (goto-char (match-end 0)) - (buffer-substring (point) - (progn (forward-sexp -1) - (while (looking-at "\\s'") - (forward-char 1)) - (point)))) + (buffer-substring-no-properties + (point) + (progn (forward-sexp -1) + (while (looking-at "\\s'") + (forward-char 1)) + (point)))) nil))) ;; Read a tag name from the minibuffer with defaulting and completion. -- 2.30.2